/*   
 * �ļ�����FinanceService.java
 * ��Ȩ����Copy Ruantu��  
 * ��������������  
 * �޸��ˣ���MengFanding�� 
 * �޸�ʱ�䣺2017 ����2:28:38
 * �޸ĵ��ţ����޸ĵ��š�  
 * �޸����ݣ����޸����ݡ�  
 */

package com.ruantu.clothing.service.finance;

import java.util.List;
import java.util.Map;

import com.ruantu.clothing.entity.KeHu;
import com.ruantu.clothing.entity.PageBean;
import com.ruantu.clothing.entity.YearAndSeason;
import com.ruantu.clothing.entity.ZZMX;
import com.ruantu.clothing.entity.finance.Finance;
import com.ruantu.clothing.entity.finance.FinanceRecord;
import com.ruantu.clothing.entity.finance.FinanceTransaction;
import com.ruantu.clothing.entity.finance.Period;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;


public interface FinanceService {

    boolean startNewPeriod(String name);

    List<Period> showPeriodList();

    FinanceRecord addFinanceRecord(FinanceRecord record);

    List<Finance> findThisPeriod(String jgid);

    List<Finance> findFinancePeriod(String jgid, String periodId, PageBean page);

    List<FinanceRecord> findByFinanceKey(String id, PageBean page);

    boolean payOrReceive(FinanceTransaction transaction);

    List<FinanceTransaction> findByLSHPage(Integer hl, String lsh, String gsjg, PageBean page);

    List<KeHu> selectAllKeHuService();

    List<Period> selectPeriodListService();

    List<Finance> selectZZReportListService(PageBean page);

    HSSFWorkbook selectZZReportListDaoChuService(PageBean page);

    List<ZZMX> selectZZMXReportListService(PageBean page);

    HSSFWorkbook selectZZMXReportListDaoChuServicer(PageBean page);

    List<FinanceTransaction> selectByJgid(String jgid);

    List<YearAndSeason> findNAJ(String jgId);

    List<ZZMX> financeAccountService(PageBean page);

    HSSFWorkbook financeAccountReportService(PageBean page);


}
